import JsonData from "../../Json.js";
let { fifth } = JsonData.gallery;

Component({
    properties: {
        currentIndex: {
            type: String,
            value: "",
            observer: function(index) {
              if (index ==4){
                this.app = getApp();
                this.app.sliderightshow(this, "slide_right0", 200, 1, 2000, 1000);
                this.app.sliderightshow(this, "slide_right1", -200, 1, 2000, 1000);
                this.app.show(this, "show0", 1, 5000, 4000);
                this.app.slideupshow(this, "slide_up0", 20, 1, 5000, 4000);
              }
                 
            }
        }
    },
    data: {
      fifth: fifth
    },
    methods: {}
});